From d83fccf36378b7d84321031a366e5aef7d2e6891 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 12 Jun 2003 23:52:03 +0000 Subject: [PATCH] Remove C99'ism. --- gpsbabel/mkshort.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gpsbabel/mkshort.c b/gpsbabel/mkshort.c index f18b69eff..c2fae3f4d 100644 --- a/gpsbabel/mkshort.c +++ b/gpsbabel/mkshort.c @@ -88,10 +88,9 @@ static int add_to_hashlist(mkshort_handle *h, char *name) { - int hash; - - hash = hash_string(name); + int hash = hash_string(name); uniq_shortname *s = xcalloc(1, sizeof (uniq_shortname)); + s->orig_shortname = xstrdup(name); ENQUEUE_TAIL(&h->namelist[hash], &s->list); } -- 2.30.2